#include "visit.h"

variant<int, float, string> visit_argVarDef(ASTNode* node, SymbolTable* s, Module* m, BasicBlock* bb) {
    if (!node){
        variant<int, float, string> res;
        res = 0;
        return res;
    }
    ASTNode* child = node->children[0];
    if(child->type == "="){
        variant<int, float, string> res = visit_initVal(node->children[1], s, m, bb);
        return res;
    }
    else if(child->type == "$"){
        variant<int, float, string> res;
        res = 0;
        return res;
    }
}